package com.autumn.jvm.jvm;

import java.util.ArrayList;

/**
 * @author: Autumn
 * @describe:
 * @date: 2022/10/2 0002
 * @modified By:
 */
public class HeapTest {

    byte[] a = new byte[1024 * 1000]; //100kb

    public static void main(String[] args) throws InterruptedException {
        ArrayList<HeapTest> heapTests = new ArrayList<>();
        while (true) {
            heapTests.add(new HeapTest());
            Thread.sleep(10);
        }
    }

}
